\(\int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx\) [66]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [B] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [F(-2)]
   Mupad [F(-1)]

Optimal result

Integrand size = 27, antiderivative size = 195 \[ \int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx=\frac {2 b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b x^3 \sqrt {d-c^2 d x^2}}{45 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c x^5 \sqrt {d-c^2 d x^2}}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{3 c^4 d}+\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^4 d^2} \]

[Out]

-1/3*(-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x))/c^4/d+1/5*(-c^2*d*x^2+d)^(5/2)*(a+b*arccosh(c*x))/c^4/d^2+2/15*b*
x*(-c^2*d*x^2+d)^(1/2)/c^3/(c*x-1)^(1/2)/(c*x+1)^(1/2)+1/45*b*x^3*(-c^2*d*x^2+d)^(1/2)/c/(c*x-1)^(1/2)/(c*x+1)
^(1/2)-1/25*b*c*x^5*(-c^2*d*x^2+d)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)

Rubi [A] (verified)

Time = 0.12 (sec) , antiderivative size = 195, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {272, 45, 5922, 12} \[ \int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx=\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^4 d^2}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{3 c^4 d}-\frac {b c x^5 \sqrt {d-c^2 d x^2}}{25 \sqrt {c x-1} \sqrt {c x+1}}+\frac {b x^3 \sqrt {d-c^2 d x^2}}{45 c \sqrt {c x-1} \sqrt {c x+1}}+\frac {2 b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {c x-1} \sqrt {c x+1}} \]

[In]

Int[x^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x]),x]

[Out]

(2*b*x*Sqrt[d - c^2*d*x^2])/(15*c^3*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) + (b*x^3*Sqrt[d - c^2*d*x^2])/(45*c*Sqrt[-1
+ c*x]*Sqrt[1 + c*x]) - (b*c*x^5*Sqrt[d - c^2*d*x^2])/(25*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) - ((d - c^2*d*x^2)^(3/
2)*(a + b*ArcCosh[c*x]))/(3*c^4*d) + ((d - c^2*d*x^2)^(5/2)*(a + b*ArcCosh[c*x]))/(5*c^4*d^2)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 5922

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))*(x_)^(m_)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :> With[{u = IntHide[x
^m*(d + e*x^2)^p, x]}, Dist[a + b*ArcCosh[c*x], u, x] - Dist[b*c*Simp[Sqrt[d + e*x^2]/(Sqrt[1 + c*x]*Sqrt[-1 +
 c*x])], Int[SimplifyIntegrand[u/Sqrt[d + e*x^2], x], x], x]] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0
] && IntegerQ[p - 1/2] && NeQ[p, -2^(-1)] && (IGtQ[(m + 1)/2, 0] || ILtQ[(m + 2*p + 3)/2, 0])

Rubi steps \begin{align*} \text {integral}& = -\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{3 c^4 d}+\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^4 d^2}-\frac {\left (b c \sqrt {d-c^2 d x^2}\right ) \int \frac {-2-c^2 x^2+3 c^4 x^4}{15 c^4} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{3 c^4 d}+\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^4 d^2}-\frac {\left (b \sqrt {d-c^2 d x^2}\right ) \int \left (-2-c^2 x^2+3 c^4 x^4\right ) \, dx}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {2 b x \sqrt {d-c^2 d x^2}}{15 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b x^3 \sqrt {d-c^2 d x^2}}{45 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {b c x^5 \sqrt {d-c^2 d x^2}}{25 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{3 c^4 d}+\frac {\left (d-c^2 d x^2\right )^{5/2} (a+b \text {arccosh}(c x))}{5 c^4 d^2} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.12 (sec) , antiderivative size = 126, normalized size of antiderivative = 0.65 \[ \int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx=\frac {\sqrt {d-c^2 d x^2} \left (b c \left (30 x+5 c^2 x^3-9 c^4 x^5\right )+30 (-1+c x)^{3/2} (1+c x)^{3/2} (a+b \text {arccosh}(c x))+45 c^2 x^2 (-1+c x)^{3/2} (1+c x)^{3/2} (a+b \text {arccosh}(c x))\right )}{225 c^4 \sqrt {-1+c x} \sqrt {1+c x}} \]

[In]

Integrate[x^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x]),x]

[Out]

(Sqrt[d - c^2*d*x^2]*(b*c*(30*x + 5*c^2*x^3 - 9*c^4*x^5) + 30*(-1 + c*x)^(3/2)*(1 + c*x)^(3/2)*(a + b*ArcCosh[
c*x]) + 45*c^2*x^2*(-1 + c*x)^(3/2)*(1 + c*x)^(3/2)*(a + b*ArcCosh[c*x])))/(225*c^4*Sqrt[-1 + c*x]*Sqrt[1 + c*
x])

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(639\) vs. \(2(163)=326\).

Time = 1.32 (sec) , antiderivative size = 640, normalized size of antiderivative = 3.28

method result size
default \(a \left (-\frac {x^{2} \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{5 c^{2} d}-\frac {2 \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{15 d \,c^{4}}\right )+b \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (16 c^{6} x^{6}-28 c^{4} x^{4}+16 \sqrt {c x +1}\, \sqrt {c x -1}\, c^{5} x^{5}+13 c^{2} x^{2}-20 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+5 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -1\right ) \left (-1+5 \,\operatorname {arccosh}\left (c x \right )\right )}{800 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (-1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{288 \left (c x +1\right ) c^{4} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (-1+\operatorname {arccosh}\left (c x \right )\right )}{16 \left (c x +1\right ) c^{4} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (1+\operatorname {arccosh}\left (c x \right )\right )}{16 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{288 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-16 \sqrt {c x +1}\, \sqrt {c x -1}\, c^{5} x^{5}+16 c^{6} x^{6}+20 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-28 c^{4} x^{4}-5 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +13 c^{2} x^{2}-1\right ) \left (1+5 \,\operatorname {arccosh}\left (c x \right )\right )}{800 \left (c x +1\right ) c^{4} \left (c x -1\right )}\right )\) \(640\)
parts \(a \left (-\frac {x^{2} \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{5 c^{2} d}-\frac {2 \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{15 d \,c^{4}}\right )+b \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (16 c^{6} x^{6}-28 c^{4} x^{4}+16 \sqrt {c x +1}\, \sqrt {c x -1}\, c^{5} x^{5}+13 c^{2} x^{2}-20 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+5 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -1\right ) \left (-1+5 \,\operatorname {arccosh}\left (c x \right )\right )}{800 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +1\right ) \left (-1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{288 \left (c x +1\right ) c^{4} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (-1+\operatorname {arccosh}\left (c x \right )\right )}{16 \left (c x +1\right ) c^{4} \left (c x -1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x -1}\, \sqrt {c x +1}\, c x +c^{2} x^{2}-1\right ) \left (1+\operatorname {arccosh}\left (c x \right )\right )}{16 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}+4 c^{4} x^{4}+3 \sqrt {c x -1}\, \sqrt {c x +1}\, c x -5 c^{2} x^{2}+1\right ) \left (1+3 \,\operatorname {arccosh}\left (c x \right )\right )}{288 \left (c x +1\right ) c^{4} \left (c x -1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-16 \sqrt {c x +1}\, \sqrt {c x -1}\, c^{5} x^{5}+16 c^{6} x^{6}+20 \sqrt {c x -1}\, \sqrt {c x +1}\, c^{3} x^{3}-28 c^{4} x^{4}-5 \sqrt {c x -1}\, \sqrt {c x +1}\, c x +13 c^{2} x^{2}-1\right ) \left (1+5 \,\operatorname {arccosh}\left (c x \right )\right )}{800 \left (c x +1\right ) c^{4} \left (c x -1\right )}\right )\) \(640\)

[In]

int(x^3*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2),x,method=_RETURNVERBOSE)

[Out]

a*(-1/5*x^2*(-c^2*d*x^2+d)^(3/2)/c^2/d-2/15/d/c^4*(-c^2*d*x^2+d)^(3/2))+b*(1/800*(-d*(c^2*x^2-1))^(1/2)*(16*c^
6*x^6-28*c^4*x^4+16*(c*x+1)^(1/2)*(c*x-1)^(1/2)*c^5*x^5+13*c^2*x^2-20*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3+5*(c
*x-1)^(1/2)*(c*x+1)^(1/2)*c*x-1)*(-1+5*arccosh(c*x))/(c*x+1)/c^4/(c*x-1)+1/288*(-d*(c^2*x^2-1))^(1/2)*(4*c^4*x
^4-5*c^2*x^2+4*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3-3*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+1)*(-1+3*arccosh(c*x))/(c
*x+1)/c^4/(c*x-1)-1/16*(-d*(c^2*x^2-1))^(1/2)*((c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+c^2*x^2-1)*(-1+arccosh(c*x))/(c
*x+1)/c^4/(c*x-1)-1/16*(-d*(c^2*x^2-1))^(1/2)*(-(c*x-1)^(1/2)*(c*x+1)^(1/2)*c*x+c^2*x^2-1)*(1+arccosh(c*x))/(c
*x+1)/c^4/(c*x-1)+1/288*(-d*(c^2*x^2-1))^(1/2)*(-4*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3+4*c^4*x^4+3*(c*x-1)^(1/
2)*(c*x+1)^(1/2)*c*x-5*c^2*x^2+1)*(1+3*arccosh(c*x))/(c*x+1)/c^4/(c*x-1)+1/800*(-d*(c^2*x^2-1))^(1/2)*(-16*(c*
x+1)^(1/2)*(c*x-1)^(1/2)*c^5*x^5+16*c^6*x^6+20*(c*x-1)^(1/2)*(c*x+1)^(1/2)*c^3*x^3-28*c^4*x^4-5*(c*x-1)^(1/2)*
(c*x+1)^(1/2)*c*x+13*c^2*x^2-1)*(1+5*arccosh(c*x))/(c*x+1)/c^4/(c*x-1))

Fricas [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 176, normalized size of antiderivative = 0.90 \[ \int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx=\frac {15 \, {\left (3 \, b c^{6} x^{6} - 4 \, b c^{4} x^{4} - b c^{2} x^{2} + 2 \, b\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) - {\left (9 \, b c^{5} x^{5} - 5 \, b c^{3} x^{3} - 30 \, b c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} + 15 \, {\left (3 \, a c^{6} x^{6} - 4 \, a c^{4} x^{4} - a c^{2} x^{2} + 2 \, a\right )} \sqrt {-c^{2} d x^{2} + d}}{225 \, {\left (c^{6} x^{2} - c^{4}\right )}} \]

[In]

integrate(x^3*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2),x, algorithm="fricas")

[Out]

1/225*(15*(3*b*c^6*x^6 - 4*b*c^4*x^4 - b*c^2*x^2 + 2*b)*sqrt(-c^2*d*x^2 + d)*log(c*x + sqrt(c^2*x^2 - 1)) - (9
*b*c^5*x^5 - 5*b*c^3*x^3 - 30*b*c*x)*sqrt(-c^2*d*x^2 + d)*sqrt(c^2*x^2 - 1) + 15*(3*a*c^6*x^6 - 4*a*c^4*x^4 -
a*c^2*x^2 + 2*a)*sqrt(-c^2*d*x^2 + d))/(c^6*x^2 - c^4)

Sympy [F]

\[ \int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx=\int x^{3} \sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )\, dx \]

[In]

integrate(x**3*(a+b*acosh(c*x))*(-c**2*d*x**2+d)**(1/2),x)

[Out]

Integral(x**3*sqrt(-d*(c*x - 1)*(c*x + 1))*(a + b*acosh(c*x)), x)

Maxima [A] (verification not implemented)

none

Time = 0.31 (sec) , antiderivative size = 144, normalized size of antiderivative = 0.74 \[ \int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx=-\frac {1}{15} \, b {\left (\frac {3 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} x^{2}}{c^{2} d} + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}}}{c^{4} d}\right )} \operatorname {arcosh}\left (c x\right ) - \frac {1}{15} \, a {\left (\frac {3 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} x^{2}}{c^{2} d} + \frac {2 \, {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}}}{c^{4} d}\right )} - \frac {{\left (9 \, c^{4} \sqrt {-d} x^{5} - 5 \, c^{2} \sqrt {-d} x^{3} - 30 \, \sqrt {-d} x\right )} b}{225 \, c^{3}} \]

[In]

integrate(x^3*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2),x, algorithm="maxima")

[Out]

-1/15*b*(3*(-c^2*d*x^2 + d)^(3/2)*x^2/(c^2*d) + 2*(-c^2*d*x^2 + d)^(3/2)/(c^4*d))*arccosh(c*x) - 1/15*a*(3*(-c
^2*d*x^2 + d)^(3/2)*x^2/(c^2*d) + 2*(-c^2*d*x^2 + d)^(3/2)/(c^4*d)) - 1/225*(9*c^4*sqrt(-d)*x^5 - 5*c^2*sqrt(-
d)*x^3 - 30*sqrt(-d)*x)*b/c^3

Giac [F(-2)]

Exception generated. \[ \int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx=\text {Exception raised: TypeError} \]

[In]

integrate(x^3*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2),x, algorithm="giac")

[Out]

Exception raised: TypeError >> an error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

Mupad [F(-1)]

Timed out. \[ \int x^3 \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx=\int x^3\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,\sqrt {d-c^2\,d\,x^2} \,d x \]

[In]

int(x^3*(a + b*acosh(c*x))*(d - c^2*d*x^2)^(1/2),x)

[Out]

int(x^3*(a + b*acosh(c*x))*(d - c^2*d*x^2)^(1/2), x)